public class Demo10 {

    public static void main(String[] args){
        Demo10Person p = new Demo10Student();
        p.run();
    }
}

abstract class Demo10Person{
    public abstract void run();
}

class Demo10Student extends Demo10Person{
    @Override
    public void run(){
        System.out.println("student run");
    }
}
